<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>最新{$data['params']['type']}_第{$data['params']['page']}页-欢乐影视</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=1000px, initial-scale=0">
    <meta name="keywords" content="{$data['params']|createKeywords}">
    <meta name="description" content="{$data['params']|createKeywords}">
    {include file="common/link"/}
</head>
<body>
{include file="common/header"/}
<div class="list">
    <div class="li_index">
        <div class="s_index">
            <dl>
                <dt>选择类型：</dt>
                <dd>
                    <a href="{:createUrl(['type',''],$data['params'])}" class="{$data['params']['type']==''?'current':''}">全部</a>
                    {volist name="data['navLists']" id="nav" key="key"}
                        {if condition="$data['params']['type']"}
                            {if condition="$data['params']['type']==$nav['nav']"}
                                <a class="current" target="_self" href={:createUrl(['type',$nav['nav']],$data['params'])}>{$nav["nav"]}</a>
                            {else/}
                                <a class="" target="_self" href={:createUrl(['type',$nav['nav']],$data['params'])}>{$nav["nav"]}</a>
                            {/if}
                        {else/}
                            <a class="" target="_self" href={:createUrl(['type',$nav['nav']],$data['params'])}>{$nav["nav"]}</a>
                        {/if}
                    {/volist}
                </dd>
            </dl>
            <dl>
                <dt>选择分类：</dt>
                <dd>
                    <a class="{$data['params']['class']==''?'current':''}" href="{:createUrl(['class',''],$data['params'])}">全部</a>
                    {volist name="data['classLists']" id="class" key="key"}
                        {if condition="$data['params']['class']"}
                            {if condition="$data['params']['class']==$class"}
                                <a class="current" target="_self" href={:createUrl(['class',$class],$data['params'])}>{$class}</a>
                            {else/}
                                <a class="" target="_self" href={:createUrl(['class',$class],$data['params'])}>{$class}</a>
                            {/if}
                        {else/}
                            <a class="" target="_self" href={:createUrl(['class',$class],$data['params'])}>{$class}</a>
                        {/if}
                    {/volist}
                </dd>
            </dl>
            <dl>
                <dt>选择年代：</dt>
                <dd>
                    <a class="{$data['params']['year']==''?'current':''}" href="{:createUrl(['year',''],$data['params'])}">全部</a>
                    {volist name="data['ageLists']" id="year" key="key"}
                        {if condition="$data['params']['year']"}
                            {if condition="$data['params']['year']==$year"}
                                <a class="current" target="_self" href={:createUrl(['year',$year],$data['params'])}>{$year}</a>
                            {else/}
                                <a class="" target="_self" href={:createUrl(['year',$year],$data['params'])}>{$year}</a>
                            {/if}
                        {else/}
                            <a class="" target="_self" href={:createUrl(['year',$year],$data['params'])}>{$year}</a>
                        {/if}
                    {/volist}
                    <a class={$data['params']['year']=="更早"?"current":""} href="{:createUrl(['year','更早'],$data['params'])}">更早</a>
                </dd>
            </dl>
            <dl>
                <dt>选择地区：</dt>
                <dd>
                    <a class="{$data['params']['area']==''?'current':''}" href="{:createUrl(['area',''],$data['params'])}">全部</a>
                    {volist name="data['countryLists']" id="country" key="key"}
                        {if condition="$data['params']['area']"}
                            {if condition="$data['params']['area']==$country"}
                                <a class="current" target="_self" href={:createUrl(['area',$country],$data['params'])}>{$country}</a>
                            {else/}
                                <a class="" target="_self" href={:createUrl(['area',$country],$data['params'])}>{$country}</a>
                            {/if}
                        {else/}
                            <a class="" target="_self" href={:createUrl(['area',$country],$data['params'])}>{$country}</a>
                        {/if}
                    {/volist}
                </dd>
            </dl>
            <dl>
                <dt>选择语言：</dt>
                <dd>
                    <a class="{$data['params']['lang']==''?'current':''}" href="{:createUrl(['lang',''],$data['params'])}">全部</a>
                    {volist name="data['langLists']" id="lang" key="key"}
                        {if condition="$data['params']['lang']"}
                            {if condition="$data['params']['lang']==$lang"}
                                <a class="current" target="_self" href={:createUrl(['lang',$lang],$data['params'])}>{$lang}</a>
                            {else/}
                                <a class="" target="_self" href={:createUrl(['lang',$lang],$data['params'])}>{$lang}</a>
                            {/if}
                        {else/}
                            <a class="" target="_self" href={:createUrl(['lang',$lang],$data['params'])}>{$lang}</a>
                        {/if}
                    {/volist}
                </dd>
            </dl>
            <!--<dl>-->
                <!--<dt>已选条件：</dt>-->
                <!--<dd>条件为空</dd>-->
            <!--</dl>-->
        </div>
    </div>
</div>
<div class="list_su">
    <div class="down_top">
        搜索结果：
        <!--<a class="current" href="">最新</a>-->
        <!--<a href="">热门</a>-->
        <!--<a href="">评分</a>-->
        <div class="dtop">
            筛选结果：共<span>{$data["totalnum"]}</span>条数据
        </div>
    </div>
    <ul>
        {volist name="data['pagelists']" id="movie" key="key"}
        <li>
            <div class="liimg">
                <a class="pic_link" href={:url('home/detail/index',['movie'=>$movie.mid])} title="{$movie.title|keywordsTitle}"><i></i>
                    <img class="lazy" data-original="{$movie.cover|changeImgUrl}" alt="{$movie.title}"><span>{$movie.update_state}</span></a>
            </div>
            <div class="cts_ms">
                <p class="title">
                    <a href={:url('home/detail/index',['movie'=>$movie.mid])} title="{$movie.title|keywordsTitle}">{$movie.title}</a><span>{$movie.rating}</span>
                </p>
                <p class="des">
                    {$movie.abstract}
                </p>
            </div>
        </li>
        {/volist}
    </ul>
</div>
<div class="pages">
    <?php
        pagenation($data['params']['page'],$data['totalpage'],$data['params'])
    ;?>
</div>
{include file="common/footer"/}
<script type="text/javascript" src="__STATIC__/js/jquery.lazyload.min.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $(".lazy").lazyload({
            threshold: 200,
        });
    })
</script>
</body>
</html>